package com.java.reflection.test;

public class Parent extends Grand {
    private String parentPrivateVar = "ParentPrivateVar";
    public String parentPublicVar = "ParentPublicVar";
    
    public Parent() {}
    
    public Parent(String parentPrivateVar, String parentPublicVar) {
        this.parentPrivateVar = parentPrivateVar;
        this.parentPublicVar = parentPublicVar;
    }
    
    private void parentPrivateFunc() {
        System.out.println("ParentPrivateFunc");
    }
    
    public void parentPublicFunc() {
        System.out.println("ParentPublicFunc");
    }
}
